Home
PHP
Tags
PHP Tutorial
Latest Articles
English
English
简体中文
中文(繁體)
日本語
한국어
Français
Deutsch
မြန်မာဘာသာ
Current Location:
Home
>
Function Categories
>
date_add
date_add
DateTime::add alias: Add a certain amount of days, months, years, hours, minutes and seconds to a DateTime object.
Name:
date_add
Category:
Date and time
Programming Language:
php
One-line Description:
Add day, month, year, hour, minute, and second to date.
Related
What should you pay attention to when using PHP date_add function to handle leap year dates? Tips and Case Analysis
3
How to Use the date_add Function in PHP for Time Interval Calculations? Practical Applications Shared
7
Similar Functions
date
date
Formatlocaltime/date
timezone_transitions_get
timezone_transitions_get
AliasforDateTimeZo
gettimeofday
gettimeofday
Getthecurrenttime(mi
date_create_immutable_from_format
date_create_immutable_from_format
DateTimeImmutable::c
checkdate
checkdate
VerifytheGregorianca
date_parse_from_format
date_parse_from_format
Getinformationabouta
date_create
date_create
DateTime::__construc
timezone_identifiers_list
timezone_identifiers_list
AliasforDateTimeZo
Popular Articles
What should you pay attention to when using PHP date_add function to handle leap year dates? Tips and Case Analysis
How to Use the date_add Function in PHP for Time Interval Calculations? Practical Applications Shared